package com.binhai.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Service
public class UserService {
    @Autowired
    private UserDao logindao;

    public List getAllInfos() {
        return logindao.getAllInfos();
    }

    public Map login(UserBean bean){
        return logindao.login(bean);
    }
}